package com.amox.uitest.adapter;

import org.dom4j.Element;

import com.amox.uitest.tcase.BaseTestCase;

public class SleepAdapter extends BaseAdapter<Boolean> {
	
	public SleepAdapter(BaseTestCase uitest) {
		super(uitest);
	}
	
	@Override
	public Boolean adapter(Element element) throws Exception {
		uitest.sleep(Integer.valueOf(element.getStringValue()));
//		TimeUnit.SECONDS.sleep(Integer.valueOf(line.getValue()));
		return true;
	}
}
